<?php
    /*
    Name: 秋之德雨默认分类theme 双卡片
    */
?>
<?php get_header();?>
<!-- 页面布局开始 -->
		<div class="layui-content">
			<div class="layui-container">
				<div class="layui-row main">
					<div class="layui-col-md12 layui-col-lg12">
						<div class="list-box-kptwo">
<?php $posts = query_posts($query_string . '&orderby=date&showposts='._read('rp-category-piece').''); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>      
						<div class="list-cards-two layui-anim layui-anim-downbit border-r">
							
						<div class="post-graphic">
						    <div class="item-thumbnail">
							<?php if(_read('rp-page-tesetu-sw')=='tesetu1'){?>
						    <a href="<?php the_permalink() ?>"> <img src="<?php echo get_template_directory_uri(); ?>/images/read/dna.svg" data-src="<?php echo post_thumbnail_src(); ?>" title="<?php the_title(); ?>" class="border-r lazyload"></a>
							<?php }else{?>
										<a href="<?php the_permalink() ?>"><img src="<?php echo get_template_directory_uri(); ?>/images/read/dna.svg" data-src="<?php echo get_template_directory_uri(); ?>/timthumb.php?src=<?php echo post_thumbnail_src(); ?>&w=199&h=155&zc=1" title="<?php the_title(); ?>" class="border-r lazyload">
							</a>
							
										<?php }?></div>
						</div>
						<div class="item-body">
							<h2 class="item-heading"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
						<div class="text-ellipsis"><?php echo mb_strimwidth(strip_tags(apply_filters('the_content', $post->post_content)), 0, 96,'…'); ?></div>
<div>
	<div class="tag-two">
<?php the_tags('', '' , ''); ?>
	</div>
<div class="article-component">
<item class="meta-author flex ac">
<a href="https://www.cfypt.cn/author/1">
<span class="avatar-mini">
<img src="<?php echo _read('rp-tx');?>"></span></a>
<span class="hide-sm ml6"><?php echo _read('rp-nc');?></span>
</item>
<div class="meta-right">
<!--<span class="">预览</span>-->
<!--<span class="">评论</span>-->
<span title="2022-03-16 02:20:24" class="icon-circle"><?php the_time('Y/n'); ?></span>
<span class=""><?php post_views('',' 浏览'); ?></span>
</div>
</div>
</div>
</div>
</div>
 <?php endwhile; else: ?>
          <div class="read_ssnrts"><h2 style=" text-align: center; margin: 0 auto; padding: 60px;">暂无文章哦！</h2></div>
                <?php endif; ?>
					</div>
				</div>
			</div>
           </div>
			<div class="pagination" id="pagenavi">
            <p><?php lingfeng_pagenavi();?></p>
           </div>
		</div>
<!-- 页面布局结束 -->
<?php get_footer();?>